<html xmlns="http://www.w3.org/1999/html">
<head>
    <title>Demo演示</title>
    <meta charset="utf-8">
    <title>*********</title>
    <link href="https://cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div id="page-content-wrapper">
    <fieldset>
        <legend>
            <div class="row">
                <div class="col-md-12">
                </div>
            </div>
        </legend>

        <div class="container-fluid">
            <div class="row clearfix">
                <div class="col-md-12 column">
                    <form role="form" method="post" action="/sell/test/update_save">
                        <div class="form-group">
                            <label>城市名称:</label>
                            <input name="countryName" type="text" class="form-control"
                                   value="${(country.countryName)!''}"/>
                        </div>
                        <div class="form-group">
                            <label>城市缩列名</label>
                            <input name="englishAbb" type="text" class="form-control"
                                   value="${(country.englishAbb)!''}"/>
                        </div>
                        <div class="form-group">
                            <label>敌我属性</label>
                            <select name="enemyAttributeId" class="form-control">
                            <#list attributeList as attribute >
                            <#--<option value="${attribute.id}" selected>-->
                                <option value="${attribute.id}"
                                <#--${(attribute.enemyAttrName)}-->
                                    <#if (country.enemyAttributeId)?? && country.enemyAttributeId == attribute.id>
                                        selected
                                    </#if>
                                >${(attribute.enemyAttrName)}
                            <#--<#if (productInfo.categoryType)?? && productInfo.categoryType == category.categoryType>selected-->
                            <#--</#if>-->
                            <#-->${category.categoryName}-->
                                </option>
                            </#list>
                            </select>
                        </div>
                        <div class="form-group">
                            <label>图片名称</label>
                            <input name="imgName" type="text" class="form-control" value="${(country.imgName)!''}"/>
                        </div>
                        <div class="form-group">
                            <label>图片路径</label>
                            <input name="imgPath" type="text" class="form-control" value="${(country.imgPath)!''}"/>
                        </div>
                    <#--<div class="form-group">-->
                    <#--<label>创建时间</label>-->
                    <#--<input name="createTime" type="text" class="form-control"-->
                    <#--value="${(country.createTime?string('yyyy-MM-dd hh:mm:ss'))!''}"/>-->
                    <#--</div>-->
                        <input hidden type="text" name="id" value="${(country.id)!''}">
                        <button type="submit" class="btn btn-default btn-danger">提交</button>
                        <a href="/sell/test/list">
                            <button type="button" class="btn btn-primary btn-default">返回</button>
                        </a>
                    </form>
                </div>


            </div>
        </div>
    </fieldset>
</div>
</body>
</html>